package org.dwell.nutzcow.book.ioc.basic1;

/**
 * Created by Jange on 2016/3/30.
 */
public class Teacher {

    private String name;
    private Integer age;
    private Teacher friend;

    public Teacher(){}

    public Teacher(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Teacher getFriend() {
        return friend;
    }

    public void setFriend(Teacher friend) {
        this.friend = friend;
    }
}
